﻿using System;

namespace HiTeachers.Entities
{
    [Serializable]
    public class StudentFeedback : DomainObject<Guid>
    {
        public virtual string Name { get; set; }

        public virtual string Email { get; set; }

        public virtual int Rate { get; set; }

        public virtual string Content { get; set; }

        public virtual bool IsReviewed { get; set; }

        public virtual DateTime InsertedDate { get; set; }

        public virtual Teacher Teacher { get; set; }

        public override int GetHashCode()
        {
            return ID.GetHashCode();
        }
    }
}